package com.coldwindblows.blog.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.coldwindblows.blog.dto.MetaDto;
import com.coldwindblows.blog.pojo.MetaDo;

public interface MetaMapper extends BaseMapper<MetaDo> {
	
	List<MetaDo> selectBySelective(MetaDo record);
	
	List<MetaDto> selectFromSql(MetaDo record, @Param("order")String order, @Param("limit")Integer limit);	
	
	MetaDto selectMetaDtoByNameAndType(@Param("name")String name, @Param("type")String type);
	
	Long countBySelective(MetaDo record);
}
